2004-05-08 John Wiegley <johnw@newartisans.com>
authorJohn Wiegley <johnw@newartisans.com>
Sat, 8 May 2004 12:48:49 +0000 (12:48 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Sat, 8 May 2004 12:48:49 +0000 (12:48 +0000)
commit35dd1afbdff3689bb61d4f2be431f73cca0c140e
treef6ce7d461780aafa49adbf889bad714f951e3ca4
parent4635d1be1220aa6650266a538ad08da1a6066e08
2004-05-08  John Wiegley  <johnw@newartisans.com>

* textmodes/flyspell.el (flyspell-highlight-incorrect-region):
Ignore the read-only property when flyspell highlighting is on.
Not ignoring it leads to a series of confusing errors.
(flyspell-highlight-duplicate-region): Ignore read-only, as above,
but also make sure to call flyspell-incorrect-hook.
(flyspell-maybe-correct-transposition): Perform transposition test
by bit twiddling a string, rather than using a temp buffer.
(flyspell-maybe-correct-doubling): Use a string rather than a temp
buffer.  This is also the original version of the code, which
could not be checked in before due to a previous lack of
assignment papers.  This version has seen heavy usage on my system
for several years now.
lisp/textmodes/flyspell.el